package tarena.netctoss.po;

/**
 * 资费类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-3-1
 */

public class Pricing implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	/** 资费名称 */
	private String name;

	/** 基费(小时费用) */
	private Double basefee;

	/** 月租费用 */
	private Double ratefee;

	/** 资费描述 */
	private String description;

	public Pricing() {
	}

	/** minimal constructor */
	public Pricing(String name, Double basefee, Double ratefee) {
		this.name = name;
		this.basefee = basefee;
		this.ratefee = ratefee;
	}

	/** full constructor */
	public Pricing(String name, Double basefee, Double ratefee,
			String description) {
		this.name = name;
		this.basefee = basefee;
		this.ratefee = ratefee;
		this.description = description;
	}

	/**
	 * 
	 * @return
	 */
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getBasefee() {
		return this.basefee;
	}

	public void setBasefee(Double basefee) {
		this.basefee = basefee;
	}

	public Double getRatefee() {
		return this.ratefee;
	}

	public void setRatefee(Double ratefee) {
		this.ratefee = ratefee;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return name + "," + basefee + "," + ratefee + "," + description;
	}

}